package com.nvshen.zhangmeiying.model;

import java.io.Serializable;

/**
 * Created by wxc on 14-9-16.
 */
public class Conversation implements Serializable{
    private User from_user;
    private User to_user;
    //0：default,来自对方； 1：自己发送的信息
    private int type;
    private int created_at;
    private String content;
    private int sent;

    public User getFrom_user() {
        return from_user;
    }

    public void setFrom_user(User from_user) {
        this.from_user = from_user;
    }

    public User getTo_user() {
        return to_user;
    }

    public void setTo_user(User to_user) {
        this.to_user = to_user;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getCreated_at() {
        return created_at;
    }

    public void setCreated_at(int created_at) {
        this.created_at = created_at;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getSent() {
        return sent;
    }

    public void setSent(int sent) {
        this.sent = sent;
    }
}
